package com.smz.service.impl;

import com.smz.dao.TStaffDAO;
import com.smz.entity.TStaff;
import com.smz.service.TStaffService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TStaffServiceImpl implements TStaffService {
    @Autowired
    private TStaffDAO staffDAO;
    @Override
    public List<TStaff> findAllStaff() {
        return staffDAO.selectAllStaff();
    }

}
